const mongoose = require('mongoose');

const NewsSchema = new mongoose.Schema({
  title: String,
  content: String,
  createTime: {
    type: Date,
    default: Date.now()
  },
})

const News = mongoose.model('News', NewsSchema);

